package com.emptyMe.org.service.imp;

import com.emptyMe.org.domain.Employee;
import com.emptyMe.org.mapper.EmployeeMapper;
import com.emptyMe.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmployeeServiceImpl implements IEmployeeService {
    @Autowired
    private EmployeeMapper mapper;

    @Override
    public List<Employee> loadAll() {
        return mapper.loadAllEmp();
    }
}
